package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存预警设置对象 wms_inventory_alert
 * 
 * @author ruoyi
 * @date 2025-06-18
 */
public class WmsInventoryAlert extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预警ID */
    private Long alertId;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private String productId;

    /** 库存下限 */
    @Excel(name = "库存下限")
    private Long minQuantity;

    /** 库存上限 */
    @Excel(name = "库存上限")
    private Long maxQuantity;

    /** 通知方式(system/email/sms) */
    @Excel(name = "通知方式(system/email/sms)")
    private String notifyType;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setAlertId(Long alertId) 
    {
        this.alertId = alertId;
    }

    public Long getAlertId() 
    {
        return alertId;
    }

    public void setProductId(String productId) 
    {
        this.productId = productId;
    }

    public String getProductId() 
    {
        return productId;
    }

    public void setMinQuantity(Long minQuantity) 
    {
        this.minQuantity = minQuantity;
    }

    public Long getMinQuantity() 
    {
        return minQuantity;
    }

    public void setMaxQuantity(Long maxQuantity) 
    {
        this.maxQuantity = maxQuantity;
    }

    public Long getMaxQuantity() 
    {
        return maxQuantity;
    }

    public void setNotifyType(String notifyType) 
    {
        this.notifyType = notifyType;
    }

    public String getNotifyType() 
    {
        return notifyType;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("alertId", getAlertId())
            .append("productId", getProductId())
            .append("minQuantity", getMinQuantity())
            .append("maxQuantity", getMaxQuantity())
            .append("notifyType", getNotifyType())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
